home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Bus / S / S7P 3.6 Manual.sit / S7P 3.6 Manual.rsrc / TEXT_140.txt < prev    next >
Encoding:
Text File  |  1993-11-14  |  1.4 KB  |  12 lines

  1. Using System 7 Pack‚Ñ¢ with AppleScript
  2.  
  3. System 7 Pack provides several commands which let you take advantage of AppleScript‚Äôs Open Scripting Architecture.
  4.  
  5. The AppleScript command lets you execute a script and get back the results. If you wish to use a language other than AppleScript, call SetComponent with the 4 character ID of the desired scripting language. The codes currently available are ‚Äúascr‚Äù for AppleScript¬Æ, ‚ÄúQKCL‚Äù for QuicKeys¬Æ 3.0, and ‚ÄúLAND‚Äù for UserLand Frontier‚Ñ¢ 2.1. The command ListComponents can be used to obtain a list of all available components.
  6.  
  7. If you wish to make your 4D application scriptable by AppleScript, in addition to writing AppleEvent handlers you must also create an ‚Äòaete‚Äô resource. We don‚Äôt provide any tools for creating aete resources. You can create an aete resource with Apple‚Äôs AETE Editor Stack, available as part of the AppleScript developer‚Äôs package or with Resorcerer, a commercial resource editor available from Mathem√¶sthetics at (617) 738-8803.
  8.  
  9. The aete resource must be placed either in the 4D application or a compiled database merged with 4D runtime. AppleScript won‚Äôt recognize an aete resource in an uncompiled or un-merged database.
  10.  
  11. NOTE: The QuicKeys 3.0 scripting language isn‚Äôt compatible with 4D 3.0.5 so you must use the QuicKeys command to run sequences in that case. QuicKeys Script is fully compatible with 4D 2.2.3.
  12.